package com.newlink.building.login.mvp.model

import com.newlink.building.login.mvp.contract.Module_Login_InputVerifyCodeContract
import com.newlink.building.common_base.base.BaseModel
import com.newlink.building.common_base.http.Base_RetrofitHelper
import com.newlink.building.common_base.model.bean.HttpResult
import io.reactivex.Observable


class Module_Login_InputVerifyCodeModel : BaseModel(), Module_Login_InputVerifyCodeContract.Model {

    override fun sendVerifyCode(code: String, email: String): Observable<HttpResult<Boolean?>> {
        return Base_RetrofitHelper.service.sendVerifyCode(code, email)
    }
}